package com.ict.web.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class ExtractRuleDto {
    /**
     * 专家id
     */
    @ApiModelProperty(value = "专家id")
    private Long expertId;

    /**
     * 专家姓名
     */
    @ApiModelProperty(value = "专家姓名")
    private String expertName;

    /** 规则表id */
    @ApiModelProperty(value = "规则表id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long extractRuleId;


    /** 抽取类型{1:按条件抽取 2：随机抽取 3：指定专家} */
    @ApiModelProperty(value = "抽取类型{1:按条件抽取 2：随机抽取 3：指定专家}")
    private String extractType;

    /** 人数 */
    @ApiModelProperty(value = "人数，varchar：2")
    private Integer peopleNumber;

    /** 抽取规则描述 */
    @ApiModelProperty(value = "抽取规则描述，varchar：50")
    private String extractRuleDesc;
}
